#include<stdio.h>
#include<string.h>
struct book {
    char name[10];
    int number;
    int value;
}books[10]={
    {"a",1,209},	
	{"b",2,210},	
	{"c",3,220},	
	{"d",4,230},	
	{"e",5,224},	
	{"f",6,236},	
	{"g",7,223},	
	{"h",8,215},	
	{"i",9,202},	
	{"j",10,209}
};

void chaxun(struct book *books,int value,int len){
    for(int i=0;i<len;i++){
       if(books[i].value > value){
        printf("书名:%s,编号:%d,售价:%d",books[i].name,books[i].number,books[i].value);
       } 
    }
}

int main(void)
{	
    
    int value=0;
    printf("查询的售价:");
    scanf("%d",&value);
    chaxun(books,value,sizeof(books)/sizeof(books[0]));
	return 0;
}

